<template>
  <div class="errordiv">
    <h1 class="error">404</h1>
    <hr>
    <el-result icon="error" title="404警告提示" subTitle="找不到该页面">
    </el-result>
    <router-link class="backindex" to="/"><el-button type="primary">返回首页</el-button></router-link>
  </div>
</template>

<script>
  export default{
    name:'error'
  }
</script>

<style scoped>
  .error{
    margin-top: 100px;
    font-size: 90px;
  }
  .backindex{
    color: white;
  }
.errordiv{
  line-height: 20px;
  margin: auto;
  text-align: center;
}
</style>
